
from django.conf.urls import url
from .views import OauthQQURLAPIView,OauthQQUserAPIView,WeiboURIAPIView, WeiboOauthView

urlpatterns = [

    # /oauth/qq/statues/

    url(r'^qq/statues/$',OauthQQURLAPIView.as_view()),

    # /oauth/qq/users/?code=xxx
    url(r'^qq/users/$',OauthQQUserAPIView.as_view()),

    url(r'^weibo/authorization/$',WeiboURIAPIView.as_view()),
    url(r'^sina/user/$',WeiboOauthView.as_view())
]